﻿using System;
using StockholmsStad.Windows.UI.Modules.Maintenance.Models;

namespace StockholmsStad.Windows.UI.Modules.Maintenance.BusinessEntities
{
    public class ScheduledMonth
    {
        public string Month
        {
            get { return date.ToString("MMMM yyyy"); }
        }

        public string StartEndTime
        {
            get { return string.Format("{0}/{1}", StartTime.ToString("HH:mm"), EndTime.ToString("HH:mm")); }
        }

        public DateTime StartTime { get; set; }
        public DateTime EndTime { get; set; }

        private DateTime date;
        public DateTime Date
        {
            get { return date; }
            set { date = value; }
        }

        public MinisterTimeBlockPresentationModel TimeBlockPresentationModel { get; set; }
    }
}
